#include <stdio.h>   /*altnames.c --可移植程序*/
#include <inttypes.h>//支持可移植类型
int main (void)
{
    int32_t me32;     //me32是一个有符号整型变量
    me32 = 45933945;
    printf("First, assume int32_t is int : ");
    printf("me32 = %d\n", me32);
    printf("Next, let us not make any assumptions.\n");
    printf("Instead, use a \"macro\" from inttypes.h: ");/*用一个字符串宏来显示可移植类型*/
    printf("me32 = %" PRId32 "\n", me32);//也可用printf("me16 = %d\n", me16);来进行替换

    return 0;

}